package com.hyy.lotterysystem.service;

import com.hyy.lotterysystem.controller.param.CreatePrizeParam;
import com.hyy.lotterysystem.controller.param.PageParam;
import com.hyy.lotterysystem.service.dto.PageListDTO;
import com.hyy.lotterysystem.service.dto.PrizeDTO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

@Service
public interface PriceService {

    //创建一个奖品，返回奖品id
    Long createPrize(CreatePrizeParam param, MultipartFile picFile);

    //翻页查询列表
    PageListDTO<PrizeDTO> findPrizeList(PageParam param);
}
